﻿using System.Collections.Generic;
using FoodEx.Domain.Entities;

namespace FoodEx.Domain.Repositories
{
    public interface IPatientRepository
    {
        //TODO: return PagedLists instead of Lists


        /// <summary>
        /// Returns the patients for which the PatientNumber or PatientName contains the searchTerm.
        /// </summary>
        IList<Patient> GetPatientBySearchTerm(string searchTerm);

        /// <summary>
        /// Returns the patients by the care unit where they are staying (zorg afdeling)
        /// </summary>
        /// <param name="careUnit"></param>
        /// <returns></returns>
        IList<Patient> GetPatientsByCareUnit(string careUnit);
    }
}